.con {
    padding: 20px;
}

.item ul li {
    margin-bottom: 20px;
    margin-right: 20px;
    position: relative;
    width: calc((100% - 60px) / 4);
    height: 180px;
    float: left;
    border-radius: 10px;
}

.item ul li:nth-child(4n){
    margin-right: 0;
}

.item ul li a {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.item ul li a img {
    width: 100%;
    height: 100%;
}

.item ul li .title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    line-height: 50px;
    background-color: rgba(255, 255, 255, .7);
    display: flex;
    justify-content: space-between;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.item ul li .title .name {
    text-indent: 10px;
    color: #333;
    font-size: 18px;
    width: calc(100% - 100px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.price {
    background-color: rgb(46, 43, 43);
    color: #fff;
    width: 100px;
    border-bottom-right-radius: 10px;
}
/* 
.old_price {
    font-size: 14px;
    line-height: 26px;
    text-align: center;
    color: rgba(255, 255, 255, .7);
    text-decoration: line-through;
} */

.new_price {
    font-size: 16px;
    line-height: 50px;
    text-align: center;
}

.tip{
    position: absolute;
    top: 0;
    right: 0;
    border-top-right-radius: 10px;
    background-color: rgb(24, 123, 2);
    text-align: center;
    color: #fff;
    font-size: 12px;
    display: block;
    width: 50px;
    height: 26px;
    line-height: 26px;
}

/* 新闻列表 */
.xw_list ul li{
    height: auto;
}
.xw_list ul li .pic{
    height: 180px;
}
.xw_list ul li p{
    text-align: center;
    color: #fff;
    height: 40px;
    line-height: 40px;
    font-size: 18px;
}